<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>上机1</title>
    <style>
      * {
        margin: 0px;
        padding: 0px;
      }
      h4 {
        font-size: 14px;
        margin-top: 10px;
        text-indent: 10px;
      }
      p {
        font-size: 12px;
        margin-top: 10px;
        text-indent: 10px;
      }
      .box {
        width: 690px;
        margin: 50px auto;
        border: 1px solid #ccc;
        overflow: hidden;
      }
      .left {
        float: left;
        width: 230px;
        height: 300px;
        box-sizing: border-box;
        border-right: 1px solid #ccc;
        padding: 20px;
        position: relative;
      }
      .left > img {
        position: absolute;
        right: 10px;
        bottom: 40px;
      }
      .left > h4 {
        margin-top: 20px;
        margin-bottom: 20px;
      }
      .right {
        float: left;
        width: 460px;
        box-sizing: border-box;
        overflow: hidden;
      }
      .right > div {
        float: left;
        width: 230px;
        box-sizing: border-box;
        height: 150px;
        padding: 10px;
        position: relative;
      }
      .right > div > img {
        position: absolute;
        right: 10px;
        bottom: 10px;
        transition: all 1s;
      }
      .right > div > img:hover {
        transform: translate(-12px);
      }

      .b-right {
        border-right: 1px solid #ccc;
      }
      .b-bottom {
        border-bottom: 1px solid #ccc;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <div class="left">
        <h4>超级信用卡</h4>
        <p>线上线下课累计彩贝积分</p>
        <img src="images/1.bmp" alt="" />
      </div>
      <div class="right">
        <div class="b-right b-bottom">
          <h4>彩贝抢霸</h4>
          <p>每天10点更新</p>
          <img src="images/2.bmp" alt="" />
        </div>
        <div class="b-bottom">
          <h4>热门优惠劵</h4>
          <p>全场免费领取</p>
          <img src="images/3.bmp" alt="" />
        </div>
        <div class="b-right">
          <h4>促销活动</h4>
          <p>汇集全网优惠</p>
          <img src="images/4.bmp" alt="" />
        </div>
        <div>
          <h4>精挑细选</h4>
          <p>给你最好的选择</p>
          <img src="images/5.bmp" alt="" />
        </div>
      </div>
    </div>
  </body>
</html>
